package com.zone.domain.strategy.model.valobj;

/**
 * @author: zongzi
 * @description: 规则过滤动作枚举
 * @date: 2024/6/3
 */
public enum RuleActionEnum {

    INTERCEPT("INTERCEPT", "拦截请求"),
    ALLOW("ALLOW", "放行请求");

    private final String code;
    private final String desc;

    RuleActionEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
